package OOday01;

public class ExtendsTest {
    public static void main(String[] args) {
        Student yqf = new Student();
        yqf.name = "🐟🐅🐕🐖🐎🐂";
        yqf.age =21;
        yqf.address = "重庆";
        yqf.className = "jsd2502";
        yqf.stuId = "001";
        yqf.eat();
        yqf.sleep();
        yqf.sayHi();
        yqf.study();

        Student oyzy = new Student(3,"偶杨种鱼","8794","偶杨种鱼",31,"重庆");
        oyzy.eat();
        oyzy.sleep();
        oyzy.sayHi();
        oyzy.study();
        oyzy.bbb();

        Doctor kingjames = new Doctor("签号朵",99,"西永","king");

        kingjames.cut();
        oyzy.eat();
        oyzy.sleep();
        oyzy.sayHi();


        Person p = new Student();
        p.name = "人";
        p.eat();
       /* p.study();*/







    }



}
